package com.mxx.common.websecurity;



import javax.servlet.http.HttpServletRequest;

/**
 * @Auther: Mr. Zeng
 * @Date: 2020/7/21 11:01
 * @Description: 处理验证码
 */
public class AuthenticationValidateCodeDetails extends AbstractAuthenticationValidateDetails {

    private final String verifyCode;

    public AuthenticationValidateCodeDetails(HttpServletRequest request, AuthenticationParameter authenticationParameter) {
        super(request, authenticationParameter);
        verifyCode = request.getParameter(authenticationParameter.getVerificationName());
    }

    public String getValidateValue() {
        return verifyCode;
    }

}
